/** ------------------  PositionManage --------------------- **/
import { get, post, put, _delete, batchDelete, put_query, get_query } from '@/utils/request'

const URL = '/Sys/SysHr/Hr/'

export const GetAll = p => get_query(URL, p)
export const Create = p => post(URL, p)
export const Update = p => put(URL, p)
export const Delete = id => _delete(URL + id)
export const BatchDelete = p => batchDelete(URL, p)

export const GetAllRole = p => get(URL + 'role', p)
export const UpdateHrRole = p => put_query(URL + 'hr_role', p)
